﻿using Admin.NET.Core;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;

namespace Admin.NET.Application
{
    public interface IRoadService
    {
        Task<object> PostAddRoad(Roadinput road);


        Task<object> PostRoadEdit(Roadinput plan);

        Task<string> UploadFileDefault(List<IFormFile> files);

        Task<object> PostRoadAddorEdit(Roadinput plan);

        /// <summary>
        /// 添加巡检计划
        /// </summary>
        /// <param name="plan"></param>
        /// <returns></returns>
        /// <exception cref="Exception"></exception>

        Task<object> GetRoadListAll();


        Task<object> GetRoadDetail(long id);



    }
}